#include <gtk/gtk.h>
#include "../common/utils.h"
#include "window_test.h"

struct _WindowTest
{
    GtkWindow parent_instance;
};

G_DEFINE_TYPE(WindowTest, window_test, GTK_TYPE_WINDOW)

static void window_test_class_init(WindowTestClass *klass)
{
    gtk_widget_class_set_template_from_resource(GTK_WIDGET_CLASS(klass), "/src/windows/window_test.ui");
    utils_load_css_from_resource("/src/windows/window_test.css");
}

static void window_test_init(WindowTest *self)
{
    gtk_widget_init_template(GTK_WIDGET(self));
}

GtkWidget *window_test_new(void)
{
    return g_object_new(WINDOW_TYPE_TEST, NULL);
}
